#ifndef VIEW_H
#define VIEW_H

#include <defs/export.h>
#include <defs/global.h>

#include <QtCore>
#include <QtGui>

namespace Opl{ namespace Gui {

        class Scene;
        O_PRIVATE_DECLARE(View);
        class EXPORTED View : public QGraphicsView {
            Q_OBJECT
        public:
            View();
            ~View();

            void resizeEvent(QResizeEvent *event);
            void setScene(Scene *scene);

        private:
            O_PRIVATE_DECLARE_MEMBER(View);
        };

    };};

#endif // VIEW_H

